package com.chaodev.base.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * vcbase
 *
 * @author 95634
 * @描述
 * @date 2023/5/17 18:31
 **/
@ApiModel(value="活动报名表对象", description="活动报名表")
public class ActivitySignUp implements Serializable {

    private static final long serialVersionUID = -3535385233443983720L;

    @ApiModelProperty(value = "主键自增ID，活动ID")
    private Integer id;

    @ApiModelProperty(value = "活动ID")
    private Integer activityId;

    @ApiModelProperty(value = "报名工号")
    private String signUpUserCode;

    @ApiModelProperty(value = "报名人")
    private String signUpUserName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "年龄")
    private String age;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "报名时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date signUpTime;

    @ApiModelProperty(value = "状态(0:无效 1：有效)")
    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public String getSignUpUserCode() {
        return signUpUserCode;
    }

    public void setSignUpUserCode(String signUpUserCode) {
        this.signUpUserCode = signUpUserCode;
    }

    public String getSignUpUserName() {
        return signUpUserName;
    }

    public void setSignUpUserName(String signUpUserName) {
        this.signUpUserName = signUpUserName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Date getSignUpTime() {
        return signUpTime;
    }

    public void setSignUpTime(Date signUpTime) {
        this.signUpTime = signUpTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
